<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::utils::fs Namespace Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d3/dc4/namespacecv_1_1utils.html">utils</a></li><li class="navelem"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html">fs</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">cv::utils::fs Namespace Reference<div class="ingroups"><a class="el" href="../../d0/de1/group__core.html">Core functionality</a> » <a class="el" href="../../db/de0/group__core__utils.html">Utility and system functions and macros</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:af060c2cb5335bc792026ed4499d583c5"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#af060c2cb5335bc792026ed4499d583c5">canonical</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;path)</td></tr>
<tr class="memdesc:af060c2cb5335bc792026ed4499d583c5"><td class="mdescLeft"> </td><td class="mdescRight">Converts path p to a canonical absolute path Symlinks are processed if there is support for them on running platform.  <a href="#af060c2cb5335bc792026ed4499d583c5">More...</a><br/></td></tr>
<tr class="separator:af060c2cb5335bc792026ed4499d583c5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adc14f8d4f218ffd770ce57d4380d859f"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#adc14f8d4f218ffd770ce57d4380d859f">createDirectories</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;path)</td></tr>
<tr class="separator:adc14f8d4f218ffd770ce57d4380d859f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aca64d8ee9509dc1db0acef5dbc807e6d"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#aca64d8ee9509dc1db0acef5dbc807e6d">createDirectory</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;path)</td></tr>
<tr class="separator:aca64d8ee9509dc1db0acef5dbc807e6d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a121000e13a76df1f238633a34281544d"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#a121000e13a76df1f238633a34281544d">exists</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;path)</td></tr>
<tr class="separator:a121000e13a76df1f238633a34281544d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab86277b1bdf1a2e160f0b1987b4029d5"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#ab86277b1bdf1a2e160f0b1987b4029d5">getCacheDirectoryForDownloads</a> ()</td></tr>
<tr class="separator:ab86277b1bdf1a2e160f0b1987b4029d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a14c77d283875a24e105f00ee33392525"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#a14c77d283875a24e105f00ee33392525">getcwd</a> ()</td></tr>
<tr class="separator:a14c77d283875a24e105f00ee33392525"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb1d1a681946c8ceda64e6d8aea3d972"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#acb1d1a681946c8ceda64e6d8aea3d972">getParent</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;path)</td></tr>
<tr class="separator:acb1d1a681946c8ceda64e6d8aea3d972"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac41c108b6766066fd1513a0460e3f584"><td align="right" class="memItemLeft" valign="top">std::wstring </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#ac41c108b6766066fd1513a0460e3f584">getParent</a> (const std::wstring &amp;path)</td></tr>
<tr class="separator:ac41c108b6766066fd1513a0460e3f584"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4ad0cea222ba9846c8b78afedf5832cf"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#a4ad0cea222ba9846c8b78afedf5832cf">glob</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;directory, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;pattern, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &gt; &amp;result, bool recursive=false, bool includeDirectories=false)</td></tr>
<tr class="separator:a4ad0cea222ba9846c8b78afedf5832cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a480c13699a3f91d7416f350d698cbf7e"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#a480c13699a3f91d7416f350d698cbf7e">glob_relative</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;directory, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;pattern, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &gt; &amp;result, bool recursive=false, bool includeDirectories=false)</td></tr>
<tr class="separator:a480c13699a3f91d7416f350d698cbf7e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a26219f574f38cb8f632621a6042c8a9c"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#a26219f574f38cb8f632621a6042c8a9c">isDirectory</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;path)</td></tr>
<tr class="separator:a26219f574f38cb8f632621a6042c8a9c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abd0ef8c83e77e143081b83a953492c7a"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#abd0ef8c83e77e143081b83a953492c7a">join</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;base, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;path)</td></tr>
<tr class="separator:abd0ef8c83e77e143081b83a953492c7a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5c23a1bc36782e9d9e58959e8ed1176e"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dfa/namespacecv_1_1utils_1_1fs.html#a5c23a1bc36782e9d9e58959e8ed1176e">remove_all</a> (const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp;path)</td></tr>
<tr class="separator:a5c23a1bc36782e9d9e58959e8ed1176e"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="af060c2cb5335bc792026ed4499d583c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af060c2cb5335bc792026ed4499d583c5">◆ </a></span>canonical()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> cv::utils::fs::canonical </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Converts path p to a canonical absolute path Symlinks are processed if there is support for them on running platform. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>input path. Target file/directory should exist. </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="adc14f8d4f218ffd770ce57d4380d859f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc14f8d4f218ffd770ce57d4380d859f">◆ </a></span>createDirectories()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::utils::fs::createDirectories </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="aca64d8ee9509dc1db0acef5dbc807e6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca64d8ee9509dc1db0acef5dbc807e6d">◆ </a></span>createDirectory()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::utils::fs::createDirectory </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="a121000e13a76df1f238633a34281544d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a121000e13a76df1f238633a34281544d">◆ </a></span>exists()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::utils::fs::exists </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="ab86277b1bdf1a2e160f0b1987b4029d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab86277b1bdf1a2e160f0b1987b4029d5">◆ </a></span>getCacheDirectoryForDownloads()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> cv::utils::fs::getCacheDirectoryForDownloads </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.utils.fs.getCacheDirectoryForDownloads(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a14c77d283875a24e105f00ee33392525"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14c77d283875a24e105f00ee33392525">◆ </a></span>getcwd()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> cv::utils::fs::getcwd </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="acb1d1a681946c8ceda64e6d8aea3d972"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb1d1a681946c8ceda64e6d8aea3d972">◆ </a></span>getParent() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> cv::utils::fs::getParent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get parent directory </p>
</div>
</div>
<a id="ac41c108b6766066fd1513a0460e3f584"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac41c108b6766066fd1513a0460e3f584">◆ </a></span>getParent() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::wstring cv::utils::fs::getParent </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp; </td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="a4ad0cea222ba9846c8b78afedf5832cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ad0cea222ba9846c8b78afedf5832cf">◆ </a></span>glob()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::utils::fs::glob </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>directory</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &gt; &amp; </td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>recursive</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>includeDirectories</em> = <code>false</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generate a list of all files that match the globbing pattern.</p>
<p>Result entries are prefixed by base directory path.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir"></td><td class="paramname">directory</td><td>base directory </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">pattern</td><td>filter pattern (based on '*'/'?' symbols). Use empty string to disable filtering and return all results </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>result of globing. </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">recursive</td><td>scan nested directories too </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">includeDirectories</td><td>include directories into results list </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a480c13699a3f91d7416f350d698cbf7e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a480c13699a3f91d7416f350d698cbf7e">◆ </a></span>glob_relative()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::utils::fs::glob_relative </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>directory</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>pattern</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &gt; &amp; </td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>recursive</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool </td>
          <td class="paramname"><em>includeDirectories</em> = <code>false</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Generate a list of all files that match the globbing pattern.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir"></td><td class="paramname">directory</td><td>base directory </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">pattern</td><td>filter pattern (based on '*'/'?' symbols). Use empty string to disable filtering and return all results </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>globbing result with relative paths from base directory </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">recursive</td><td>scan nested directories too </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">includeDirectories</td><td>include directories into results list </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="a26219f574f38cb8f632621a6042c8a9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26219f574f38cb8f632621a6042c8a9c">◆ </a></span>isDirectory()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cv::utils::fs::isDirectory </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="abd0ef8c83e77e143081b83a953492c7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd0ef8c83e77e143081b83a953492c7a">◆ </a></span>join()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> cv::utils::fs::join </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>path</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Join path components </p>
</div>
</div>
<a id="a5c23a1bc36782e9d9e58959e8ed1176e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c23a1bc36782e9d9e58959e8ed1176e">◆ </a></span>remove_all()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::utils::fs::remove_all </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">cv::String</a> &amp; </td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:48 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
